package com.easy.service.impl;

import com.easy.bean.Order;
import com.easy.service.IOrderService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public class OrderImpl implements IOrderService {

    @Transactional // 该方法使用事务提交 都成功或都失败
    @Override
    public List<Order> addInOrders(List<Order> orders) {
        return null;
    }
}
